package com.app.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.app.dao.RoleUserDao;
import com.app.model.RoleUser;

@Service
public class RoleUserService {
	@Resource
	private RoleUserDao roleUserDao;
	
	public void save(RoleUser roleUser) {
		roleUserDao.save(roleUser);
	}

	public void delete(Long userId,Long roleId) {
		roleUserDao.delete(userId, roleId);
	}
}
